package com.android.baseconfig.data.http.okhttp.listener;

/**
 * ---------------------------------------------------------------- <br>
 * Copyright (C) 2014-2020, by het, Shenzhen, All rights reserved.  <br>
 * ---------------------------------------------------------------- <br>
 * <p>
 * 描述: DownloadProgressListener <br>
 * 作者: lei <br>
 * 日期: 2020/1/11 <br>
 */
public interface DownloadProgressListener {
    void onStart();

    void update(long bytesRead, long contentLength, boolean done);

    void onFailed(Throwable throwable);

    void onComplete(String path);
}
